package edu.njust.Service.stayregister;

import edu.njust.controller.depcontroller.Result;
import edu.njust.domain.StayRegister;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface StayRegisterService {
    //插入基本数据
    public boolean insertAll(StayRegister stayRegister);

    //根据房间id查找StayRegisterID
    public	int selectByRoom(int roomID);

    public	List<Integer> selectBypassengerID(int passengerID);

    public List<StayRegister> selectMoney(int id);
    public List<StayRegister> selectMoneyBypassengerID(int passengerID);

    public double getAllMoneyNum(List<StayRegister> stayRegisters);

    public boolean updatebill(int id);

}
